<?php

namespace Database\Factories;

use App\Models\StoreBargainUserHelp;
use Illuminate\Database\Eloquent\Factories\Factory;

class StoreBargainUserHelpFactory extends Factory
{
    /**
     * The name of the factory's corresponding model.
     *
     * @var string
     */
    protected $model = StoreBargainUserHelp::class;

    /**
     * Define the model's default state.
     *
     * @return array
     */
    public function definition()
    {
        return [
            'user_id' => $this->faker->numberBetween(1,1),
            'bargain_id' => $this->faker->numberBetween(1,1),
            'bargain_user_id' => $this->faker->numberBetween(0, 20),
            'price' => $this->faker->randomFloat(2, 1, 50),
            'type' => $this->faker->numberBetween(0, 1),
        ];
    }
}
